package cn.cangnova.cangjie.psi

import com.intellij.psi.stubs.PsiFileStubImpl
import com.intellij.psi.tree.IStubFileElementType
import cn.cangnova.cangjie.CangJieLanguage

import cn.cangnova.cangjie.psi.stubs.CangJieFileStub

class CjFileElementType : IStubFileElementType<CangJieFileStub>("CANGJIE_FILE", CangJieLanguage) {
    
    class CangJieFileStubImpl(file: CjFile?) : PsiFileStubImpl<CjFile>(file), CangJieFileStub {

    }
    
    companion object {
        val INSTANCE = CjFileElementType()
    }

    override fun getStubVersion(): Int = 1

    override fun getExternalId(): String = "cangjie.file"
} 